package com.wwtech.epp.ui.adapter.work;

import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.wwtech.epp.R;
import com.wwtech.epp.db.CommentContent;

import java.util.List;

/**
 * Created by hu on 2017/10/14.
 */

public class CommentContentListAdapter extends BaseQuickAdapter<CommentContent, BaseViewHolder> {
    public CommentContentListAdapter(@Nullable List<CommentContent> data) {
        super(R.layout.item_comment_list, data);
    }

    @Override
    protected void convert(BaseViewHolder baseViewHolder, CommentContent commentContent) {
        baseViewHolder.setText(R.id.content, commentContent.getContent());
    }
}
